Simple Network Management Protocol (SNMP) is the most widely used network management protocol in TCP/IP network, and is the de facto standard of network management. It not only refers to the Simple Network Management protocol itself, but also represents the network management framework using SNMP protocol, and experiences the development process from SNMPV1 to SNMPv3, this article will discuss its evolution from the following aspects.
(SNMPv2: Simple Network Management Protocol V2)
SNMP is a standard protocol used to manage network nodes (servers, workstations, routers, switches, and hubs) in an IP network. It is an application layer protocol. SNMP enables network administrators to manage network performance, discover and solve network problems, and plan network growth. The Network Management System receives random messages (and event reports) through SNMP to learn about network problems.Currently, SN
defines security-related authentication, authorization, access control, encryption policies, and other security protection frameworks.
In an Internet environment running TCP/IP, the management protocol standard is Simple Network Management Protocol (SNMP ), it defines the protocol message format for transmitting management information and the procedure for transmitting messages between the management station and the device agent.
Driven by the industry's urgent requirements for standardized net
communication requirements between management processes and management agents. CMIP is an application-layer protocol that provides management information transmission services. The two define the network management standards of the OSI system. Products Based on OSI standards include ATT's Accumaster and DEC's EMA. HP's OpenView was originally designed according to OSI standards.
Later, the Internet Engineering Task Group IETF decided to use the OSI-based CMIP protocol as the Internet management
, access servers, switches and bridges, HUBS, hosts or printers, and so on. An SNMP agent is a network management software module on a managed device. The SNMP agent has local management information and translates them into an SNMP-compatible format. NMS runs the application to implement monitoring of managed devices. In addition, NMS provides a large number of processing procedures and necessary storage resources for network management. Any managed network requires at least one or more NMS. Cur
the official Internet standards. Compared with V1, V2,v3 is more adaptable to large-scale network management, and has a great improvement in security.Second, snmp4j detailed introduction2.1 Important classes and interfacesSNMP class: This class is the most core class in snmp4j. Responsible for receiving and sending SNMP messages.PDU classes and SCOPEDPDU classes: This class is an abstraction of the SNMP message unit, where the PDU class applies to SNMPV1
I. Overall understanding
1. Four components of TCP/IP-based network management
(1) Management Information Library (MIB), which contains all the parameters that the Agent process may query or modify, that is, the parameters of the managed object.
(2) management information structure (SMI). management information is a collection of managed objects. SMI defines a rule set maintained by a device and is used to name and encode managed objects.
(3) SNMP protocol for managing communication betw
"my_password" myuserEnable the service:/Etc/init. d/snmpd startV3 access command:Snmpget-v 3-u myuser-l authNoPriv-a MD5-A my_password localhost sysUpTime.0
Snmp-trap configuration for v1 and v2:1. in/etc/hosts. allow, add the acceptable network segment snmptrapd: 110.1.
2. Create/usr/share/snmp/snmptrapd. conf (this is the one on my machine. Different machines may be stored in/etc/snmp,/usr/local/share/snmp/, and experiment slowly according to different situations ), add the following line:Aut
the managed device. The SNMP agent has local management information and converts them to an SNMP-compatible format. NMS running applicationsProgramTo monitor managed devices. In addition, NMs provides a large number of processing programs and necessary storage resources for network management. Any managed network requires at least one or more NMS.
Currently, three types of SNMP are available: SNMPv1, SNMPv2, and SNMPv3. There is no big gap between
If you have a new HP Uility model. for HP printers supported by the app, you can easily manage printer configurations from the HP Utility program. This feature is similar to the features provided by HP WebJet Admin, but has fewer features, it is not suitable for batch configuration and management of network environments. In network settings, you can easily set/change the network configurations of the printer, such as IP addresses.
This program is stored in the/Library/Printers/hp/Utilities di
exposed. Many routers are a potential problem for easy management using SNMP protocols, especially SNMPV1. Many network administrators do not close or encrypt Telnet sessions, and if the password transmitted in plaintext is intercepted, the hacker can reconfigure the router, which includes shutting down the interface, reconfiguring the route hop count, and so on. Physical security is also worth considering. You must ensure that routers cannot be phys
network management devices. SNMPV1/V2/V3, RMON1, 2, 3, 9, and WEB network management should be supported.
Provides visualized and convenient device management from the network management platform. In addition, the device itself should have certain security features, including L2 port bundling, STP/RSTP, MSTP, L3 VRRP and other link backup or device backup functions. Huawei's smart Ethernet switch provides cluster management, PVLAN, GMRP, and GVRP.
-way Asymmetric mode between upstream and downstream ), it can also bind a Trunking Connection Based on the Data MAC address to achieve Traffic Sharing and fault self-recovery. The V5924VDSL vswitch of the Chashan network provides an Ethernet CoS Function Based on P and supports QoS classification. On this basis, you can implement IGMP Video Multicast in a broadband network. In addition, V5924 supports full-duplex Traffic Control of 802.3x and network data analysis and detection through port mir
makes the Agent design more concise and focuses on real-time device management and multi-task coordination, so that the ROADM device can respond to network management requirements in real time and report network meta information in a timely manner, work with better performance.
2SNMP Protocol
The Simple Network Management Framework Based on SNMP protocol has been rapidly promoted due to the popularity of the Internet and has become one of the most important network management technologies. SNMP
IP Range
The IP range in the discovery rule, in the following formatSingle ip:192.168.75.136One IP segment: 192.168.75.136-200A subnet: 192.168.75.0/24The following subnet masks are supported:IPV4:/16-/30ipv6:/112-/128IP list: 192.168.1.1-255,192.168.2.1-100,192.168.2.200,192.168.4.0/24Remark: 1. IP in IP list cannot be duplicated by 2. The different discovery rules don't containThe same IP, otherwise unexpected problems may occur
Delay (in SEC)
After the r
://s1.51cto.com/wyfs02/M00/7D/FF/ Wkiol1b04hwivrkfaadi47wksmw973.png "title=" 2.png "alt=" Wkiol1b04hwivrkfaadi47wksmw973.png "/>Finally, you can see the graph in the latest data. The plot effect is as follows:650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7E/00/wKioL1b04RzA4IAZAAF5BqOBGak577.png "title=" 3.png " alt= "Wkiol1b04rza4iazaaf5bqobgak577.png"/>(ii) monitor the switch.As with monitoring switches and firewalls, you only need to turn on and configure firewalls on that switch
starts on the hanging device, and 1550E only supports the client.[H3C]HABP Enable Start HABP feature, default is start, the default is client mode after startupNTDP is the Neighbor Topology Discovery protocol, the protocol used to collect network topology information, works with the NDP protocol for Cluster management, and the configuration of s1550e mainly includes the ability to turn on and off, turn on and off the debug function.[H3C]NTDP enable is enabled by default[H3C-ETHERNET0/3]NTDP ena
3 versions of the 1.2 SNMP protocol.SNMPV1 has 5 primitive primitivesL Get-requestL Set-requestL Get-next-requestL Get-reponseL TrapSNMPv2 added two primitivesL Get-bulk-requestL Inform-requestThe SNMPv3 was mainly reinforced in safety.1.3 In order to simplify agent (network management agent generally divided into two functional modules and a common Module MIB library) side of the development, SNMP rules only two operations get, set, the former is used to obtain management information from the
, it is a function: send_recordNotification_trap (), which we use to send the trap message.I made some minor changes to it: I added a string parameter so that we can send different messages.
3. Add the code to the project and call send_recordicationication_trap () When trap needs to be sent ().
4 .【Important!]Modify the configuration file:/usr/local/share/snmp/Record. confMake sure that the following content is included:
trapsink localhost public
Otherwise, no traps will be sent even if the send
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.